<ion-view title="登录">
  <ion-content padding="true" class="has-header">
    <form>
      <ion-list>
        <label class="item item-input">
          <span class="input-label">{{user.userLab}}</span>
          <input type="text" placeholder="" ng-model="user.userName">
        </label>
        <label class="item item-input">
          <span class="input-label">{{user.passLab}}</span>
          <input type="password" placeholder="" ng-model="user.passWord">
        </label>
      </ion-list>
      <div class="spacer" style="height: 40px;"></div>
      <button class="button button-positive button-block  icon " ng-click="onLoginClick()">{{user.submitLab}}</button>
      <div >
        <a href="" ng-click="toRigister()" style="text-decoration: none">注册</a>
        <a href="#/register"  style="text-decoration: none;position:absolute;right:0px">忘记密码？</a>
      </div>
    </form>
  </ion-content>
</ion-view>
